package org.phoenix.mall.admin.service;

import org.phoenix.mall.admin.common.pojo.vo.UserVO;
import org.phoenix.mall.admin.common.utils.PagedGridResult;
import org.phoenix.mall.admin.pojo.User;

public interface UserService {
    public UserVO createUser(User user);

    public PagedGridResult getUserListByPage(Integer page, Integer pageSize);

    public int editUser(User user);

    public UserVO getUser(Integer userId);

    public User getUserById(Integer userId);

    public int removeUser(Integer userId);

    public User getByUsername(String username);
}
